﻿@namespace iMemberUI

<div style="@Style" class="apple-dropdown @Class">
    @ChildContent
    <div class="apple-dropdown-content" style="@(string.IsNullOrEmpty(Pos) ? "" : $"{Pos} : 0;")">
        @DropdownTemplate
    </div>
</div>

@code {
    [Parameter] public RenderFragment? ChildContent { get; set; }
    [Parameter] public RenderFragment? DropdownTemplate { get; set; }
    [Parameter] public string? Pos { get; set; }
    [Parameter] public string? Class { get; set; }
    [Parameter] public string? Style { get; set; }
}